
#include "Material.h"


#ifndef UTILS_INTERSECTION
#define UTILS_INTERSECTION

struct Intersection {
    bool hit = false;
    Vector3f position = ZeroVector3f;
    Vector3f normal = ZeroVector3f;
    Vector4f color = ZeroVector4f;
    std::shared_ptr<Material> material = nullptr;
    double distance = std::numeric_limits<double>::max();
};

#endif // UTILS_INTERSECTION
